const updateUser  = require('../server/dao/update-password')
const { encrypt }  = require('../server/util/encrypt')

async function updateUserTest() {
    for(let i = 0; i < 30; i++ ){
        let id = i
        let password = 'asqw' + i
        let hash = encrypt(password)
        updateUser(id, hash)
    }
}

module.exports = updateUserTest